﻿using ServiceCore.Entity.Core;
using SqlSugar;

namespace ServiceCore.DbContext
{
    public class SqlsugarServices<T> : SimpleClient<T> where T : class, new()
    {
        //private bool IsAdd = false;
        //private T OldModel = null;
        //private UserLoginDto RightUser = null;

        public SqlsugarServices()
            : base(new SqlsugarFactory(DbConfigHelper.DefaultConnectionString).Db)
        {

        }

        public string InitDataStr = InitDataHelper.DefaultInitDataString;
    }
}
